#pragma once
#include "service\storage\file\BaseFileService.h"
#include "lib\TCollection.h"
//#include "model\Player.h"

// forward declarations
class BaseModel;
class Player;

class PlayerFileService : public BaseFileService {
public:
  PlayerFileService();
  PlayerFileService(const std::string fname,
                    const std::ios::openmode=std::ios::out|std::ios::in);
  PlayerFileService(std::fstream& file);
  virtual ~PlayerFileService();
  virtual BaseFileService& Load(Player* player);
  virtual BaseFileService& Save(const Player& player);
};